package com.example.tse.rbhttpservice.service.moments;

import com.example.tse.rbhttpservice.service.moments.model.MomentsCommentRemoveRequest;
import com.example.tse.rbhttpservice.service.moments.model.MomentsCommentRemoveResponse;
import com.example.tse.rbhttpservice.service.moments.model.MomentsCommentSubmitRequest;
import com.example.tse.rbhttpservice.service.moments.model.MomentsCommentSubmitResponse;
import com.example.tse.rbhttpservice.service.moments.model.MomentsCommentGetListRequest;
import com.example.tse.rbhttpservice.service.moments.model.MomentsCommentGetListResponse;
import  com.example.tse.rbhttpservice.service.RemoteServiceListenerT;

/**
 *
 * @author wliu
 *  edit   tse
 */
public interface MomentsCommentService {
	/**
	 * 删除朋友圈中帖子的评论，用户能删除个人发表的评论，长按弹出删除
	 * @param request
	 * @param listener
	 * @return MomentsCommentRemoveResponse
	 */
	  void remove(MomentsCommentRemoveRequest request, RemoteServiceListenerT<MomentsCommentRemoveResponse> listener);
		
	/**
	 * 评论内容140字
	 * @param request
	 * @param listener
	 * @return MomentsCommentSubmitResponse
	 */
	  void submit(MomentsCommentSubmitRequest request, RemoteServiceListenerT<MomentsCommentSubmitResponse> listener);
		
	/**
	 * 获取朋友圈某帖子评论回复列表，回复评论只能层级一次（如xxx回复yyy：123abc）
	 * @param request
	 * @param listener
	 * @return MomentsCommentGetListResponse
	 */
	  void getList(MomentsCommentGetListRequest request, RemoteServiceListenerT<MomentsCommentGetListResponse> listener);
		
}
